package cn.yj.consumer.service;

import cn.yj.frame.annotation.RpcReference;
import cn.yj.service.api.IHelloService;
import cn.yj.service.api.IYJRpcService;
import cn.yj.service.vo.YJRpc;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

/**
 * @author 永健
 * @since 2022-01-18 17:27
 */
@Service
public class TestService {

	private static final Logger log = LoggerFactory.getLogger(TestService.class);

	@RpcReference
	IHelloService helloService;

	@RpcReference
	IYJRpcService yjRpcService;


	public YJRpc test() {
		return yjRpcService.getYjRpc();
	}
}
